import request from '@/util/request'

export default {

    findSpecification(){
        return request({
            url: '/tbspecification/list.do',
            method: 'get',
        })
    },

    findByPage(page,pageSize) {
        return request({
            url: `/tbspecification/findByPage.do?page=${page}&pageSize=${pageSize}`,
            method: 'get',
        })
    },

    search(page,pageSize,data){
        return request({
            url: `/tbspecification/search.do?page=${page}&pageSize=${pageSize}`,
            method: 'post',
            data

        })
    },

    save(data){
        return request({
            url: '/tbspecification/save.do',
            method: 'post',
            data
        })
    }

}
